﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>嵌入样式的应用</title>
    <style type="text/css" media="screen">
        h1 {
            font-size: 30px;
            color: red;
            background-color: yellow;
            text-align: left;
            text-decoration: underline
        }

        img {
            width: 300px;
            height: 300px;
        }

        body {
            background-color: green;
        }
    </style>
</head>
<body>
    <h1>嵌入样式的应用</h1>
    <img src="images/02.jpg" />
</body>
</html>